import request from '../request'
import type { payrollDetailDto, payrollListDto } from './type'

// 工资条列表
export function payrollListApi(): Promise<payrollListDto> {
    return request.get('/api/v1/blue/pay-stub/list')
}

// 工资条详情
export function payrollDetail(data: { id: number | string }): Promise<payrollDetailDto> {
    return request.get('/api/v1/blue/pay-stub/detail', data)
}
